Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
Java
1) 2D Graphics GUI
2) 3D Graphics
3) Advanced Graphics
4) Ant
5) Apache Common
6) Applet
7) Awt
8) Beginners Lab
9) Chart
10) Class
11) Collections Data Structure
12) Core
13) Data Type
14) Database SQL JDBC
15) Date Time
16) Design Pattern
17) Development Class
18) EJB3
19) Email
20) Event
21) File Input Output
22) Game
23) Generics
24) GWT
25) Hibernate
26) Internationalization
27) J2EE
28) J2ME
29) JDBC
30) JDK
31) JNDI LDAP
32) JPA
33) JSP
34) JSTL
35) Language Basics
36) Learning
37) Mathematics
38) Network Protocol
39) PDF RTF
40) Reflection
41) Regular Expressions
42) Scripting
43) Security
44) Servlets
45) Session
46) Sound
47) Spring
48) Swing Components
49) Swing JFC
50) SWT Jface Eclipse
51) Threads
52) Tiny Application
53) Util
54) Velocity
55) Web Services SOA
56) XML
Spring
1) Accessing Factory Beans
2) Achieving Singleton in IoC
3) Add BeanFactoryPostProcessor To XmlBeanFactory
4) Add BeanPostProcessor To XmlBeanFactory
5) After Advice Example
6) AfterReturningAdvice Demo
7) Alias Bean Demo
8) All Kinds Of Pointcut
9) Annotated Autowiring
10) Annotation Component
11) Annotation Scope
12) AOP Annotation
13) ApplicationContext And BeanFactoryPostProcessor
14) ApplicationContext Aware
15) Aspect Annotation
16) Aspect Annotation Pointcut AroundAfter
17) Aspect Filter
18) Aspect Hello World Example
19) AspectJ AutoProxy
20) AspectJ Expression Pointcut
21) Autowiring
22) BasicDataSource from apache
23) Bean Injection
24) Bean Injection Collection
25) Bean Lifecycle DisposableBean
26) Bean Lifecycle Initializing
27) Bean Name Aliasing
28) Bean Name Example
29) BeanFactory PreInstantiate Singletons Integration
30) BeanFactoryAware and BeanAware
31) Call Constructor
32) CallableStatement Callback And Procedure
33) Check InvokedMethod In MethodInterceptor
34) Check Logic In AfterReturningAdvice
35) ClassFilter In DynamicMethodMatcherPointcut
36) Closed Coupled
37) Collection Injection
38) Combine PreparedStatementCreator And ResultSetExtractor
39) Combine PreparedStatementSetter And RowCallbackHandler
40) Compare Beans From FactoryBean
41) Component Filter Assignable
42) Component scan
43) Component Scan and scope
44) Composable Pointcut Example
45) ComposablePointcut Intersection
46) ComposablePointcut Union
47) Concurrency Throttle Interceptor
48) Config BasicDataSource for HSQL
49) Constructor Argument And Local Reference
50) Constructor Confusion
51) Constructor Confusion Demo
52) ConstructorCaller In ContextConfig
53) Context Aware Demo
54) ContextApplication Event
55) Contextualized Dependency Lookup Demo
56) Control Flow Example
57) Control FlowPointcut
58) Control Parameter Type In JdbcTemplate Query
59) Create A Benchmark with MethodInterceptor
60) Create and use SingleConnectionDataSource
61) Create ApplicationContext with ClassPathXmlApplicationContext
62) Create List Map In Context
63) Create XmlBeanFactory from ClassPathResource
64) Custom Editor Example
65) Custom InitializationMethod
66) CustomEditorConfigurer and ConfigurableListableBeanFactory
67) Customizable TraceInterceptor
68) Deal With Binary Stream With LobHandler
69) Deal With TimeStamp
70) Decouple With Interface
71) Default Creator Example
72) DefaultPointcutAdvisor and AfterReturningAdvice
73) Define Bean Name
74) Delete Statement With Parameter
75) Dependant Check
76) Dependency check Demo
77) DependencyPull Demo
78) Destroy method
79) Dispose Interface
80) Dynamic Pointcut Example
81) Execute Delete Statement
82) Execute Update and Delete Statements With JdbcTemplate
83) Extends JdbcDaoSupport
84) Extends MappingSqlQuery
85) Extends MappingSqlQueryWithParameters
86) Extends SqlQuery
87) Extends SqlUpdate And Provide Customized Parameters
88) Extends SqlUpdate to create named sql statement with parameters
89) Extends SqlUpdate To Execute Insert Statement
90) Extends SqlUpdateExecute Update Statement
91) Extends StoredProcedure
92) FactoryObject Integration
93) File System Resource Demo
94) Fill Calendar Object To List
95) Fill List To Another List
96) Fill Map
97) Fill Properties
98) Fill Set
99) Fill Value To List
100) Filtered By Annotation
101) Get Method By Name
102) Hello World With Pointcut
103) Hello World Xml With DI
104) Hierarchical Bean Factory Usage
105) HierarchicalBeanFactory Demo
106) Implements AfterReturningAdvice
107) Implements ApplicationEventPublisherAware
108) Implements ApplicationListener
109) Implements BeanNameAware
110) Implements BeanPostProcessor
111) Implements CallableStatementCreator
112) Implements DisposableBean
113) Implements InitializingBean
114) Implements MethodBeforeAdvice To Check Parameters
115) Implements MethodInterceptor to check the invocation method name
116) Implements MethodInterceptor To Create Profiling Advice
117) Implements PreparedStatementCreator
118) Implements PreparedStatementCreator to get data from first column
119) Implements ResultSetExtractor to get the data from first column
120) Implements RowMapper To Map First Column
121) Implements RowMapper To Map Row To Entity
122) Inheritance Demo
123) Init Interface
124) Insert Clob Data
125) Introduction Config Example
126) Invoke Method Through Proxy
127) IoC in properties file
128) IOC With Properties File
129) IoC XML Config
130) JdbcOdbc driver DataSource
131) JdbcTemplate and BatchPreparedStatementSetter
132) Jdk Regexp Method Pointcut
133) Lazy Init Demo
134) Lazy init
135) Link With DataSource
136) Load Bean Definition From XML File
137) Load config file from ClassPath
138) Load config with FileSystemXmlApplicationContext
139) Load property File In Context
140) Load Two DataSources
141) Local Reference
142) Logging Bean Example
143) Lookup Demo
144) Lookup Performance
145) Matcher For Getter And Setter
146) Message Digest Example
147) Message Event
148) Message Source
149) Method Lookup
150) Method Replacement Example
151) Model View Injection in Spring
152) Name Pointcut Example
153) Name Pointcut Using Advisor
154) Non Singleton
155) Non Static Factory
156) Number Of Row Affected
157) Pass DataSource to se JdbcTemplate
158) Pass Object Array To Query Method In JdbcTemplate
159) Pass Parameter As Object Array
160) Pass ResultSetExtractor To Query Method In JdbcTemplate
161) Pass RowCallbackHandler Into Query Method In JdbcTemplate
162) PreparedStatementCreator And PreparedStatementSetter
163) PreparedStatementCreator And ResultSetExtractor
164) PreparedStatementSetter
165) PreparedStatementSetter And JdbcTemplate
166) PreparedStatementSetter And RowCallbackHandler
167) PreparedStatementSetter And RowMapper
168) Profiling Example
169) Properties File Based Spring Bean
170) Properties Setting
171) Property Editor Bean
172) Property File based Bean Injection
173) Property Setting
174) PropertySetting
175) Prototype Singleton
176) Proxy Factory Bean Example
177) Proxy Perf Test
178) ProxyFactory
179) Query For List
180) Query For List, Returns List Of Linked HashMap
181) Query For Map
182) Query For Object, Return String
183) Query For Rowset
184) Read ClobData As AsciiString
185) Reference another bean and set property
186) Regexp Pointcut Example
187) ResourceLoader Demo
188) ResultSetExtractor With Aggregate Function
189) RMI Remoting
190) Security Example
191) Select Statement With PreparedStatementCallback
192) Send Email Out
193) Serach By Base Package
194) Set SimpleNativeJdbcExtractor to JdbcTemplate
195) Set up DataSource for HSQL
196) Set up DataSource for MySQL
197) Set up DataSource for Oracle
198) Setter Dependency Injection Demo
199) Setting Up Spring Ant Environment
200) Setup DriverManagerDataSource as XML bean
201) Shutdown Hook Bean Example
202) Shutdown Hook Example
203) Simple After Returning Advice
204) Simple Before Advice
205) Simple Inject By ID
206) Simple Inject By Name
207) Simple Throws Advice
208) SimpleBean Init Method
209) SimpleJdbcCall With ParameterizedBeanPropertyRowMapper
210) SimpleJdbcInsert With BeanPropertySqlParameterSource
211) SimpleJdbcTemplate With ParameterizedBeanPropertyRowMapper
212) Simplest Usage of property config file In Spring
213) SingletonScope And PrototypeScope
214) Spring Aspect Introduction Example
215) Spring Aspect Logging
216) Spring bean dependency Demo
217) Spring ClassPathResource Demo
218) Spring DAO Pattern
219) Spring factory method
220) Spring FactoryBean Demo
221) Spring Load Resource from file, classpath and URL
222) Spring Properties File Based Data Injection
223) Spring Prototype
224) Spring Style Decouple
225) Spring Tracing Aspect
226) SqlParameterSource With SimpleJdbcTemplate
227) SqlParameterSource, SimpleJdbcTemplate, BeanPropertySqlParameterSource
228) Static Factory
229) Static Pointcut Example
230) StaticMethodMatcher and ProxyFactory
231) StoredProcedure and SqlOutParameter
232) StoredProcedure With Parameter
233) Throw RequiredPropertyNotSetException
234) UpdateStatement With Two Parameters
235) Use BatchPreparedStatementSetter
236) Use BatchSqlUpdate To Insert 5000 Rows
237) Use batchUpdate from JdbcTemplate To Execute Two UpdateStatements
238) Use ConfigurableListableBeanFactory
239) Use ConnectionCallback
240) Use JdbcTemplate To Create Table
241) Use JdbcTemplate To Execute Aggregate Function
242) Use JdbcTemplate To Execute Delete Statement With Parameter
243) Use JdbcTemplate To Pass In Different Type Of Parameters
244) Use LobHandler To Handle Large Chunk of Data
245) Use NameMatchMethodPointcut
246) Use NameMatchMethodPointcutAdvisor
247) Use Parameterized RowMapper
248) Use ParameterizedBeanPropertyRowMapper
249) Use queryForInt To Execute Aggregate Function
250) Use ResourceBundleMessageSource
251) Use RowCallbackHandler
252) Use RowMapper To Return List Of String
253) Use SimpleJdbcCall To Call StoredProcedure
254) Use SimpleJdbcTemplate and call queryForObject
255) Use SqlFunction To Call StoredProcedure
256) Using StatementCallback
257) Using StopWatch (demo from ganesh gowtham at valtech co in)
258) Web Frameworks
259) XML Bean Injection
260) XmlBeanFactory Demo